package com.qipay.sp.excutor.ruyi;

import com.qipay.core.utils.SpringContextUtil;
import com.qipay.sp.excutor.AbstractExcutor;
import com.qipay.sp.excutor.ExcutorFactory;
import org.springframework.stereotype.Component;

//汇通
@Component
public class RuyiFactory implements ExcutorFactory {

    @Override
    public AbstractExcutor createWapExcutor(){
        return (AbstractExcutor) SpringContextUtil.getBean(RuyiAliWapExcutor.class);
    }
    @Override
    public AbstractExcutor createNativeExcutor(){
        return (AbstractExcutor) SpringContextUtil.getBean(RuyiAliNativeExcutor.class);
    }


}
